package drumkit;

import java.util.ArrayList;

/**
 * Created by IntelliJ IDEA.
 * User: Aleksey
 * Date: 02.01.2008
 * Time: 18:09:54
 */
public class PositionedDrum {
    private String name;
    private ArrayList<PlayingStyle> styles;

    public PositionedDrum() {
        styles = new ArrayList<PlayingStyle>();
    }

    public PositionedDrum(String name) {
        this();
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getStyleCount() {
        return styles.size();
    }

    public void addStyle(PlayingStyle style) {
        styles.add(style);
    }

    public PlayingStyle getStyle(Integer index) {
        return styles.get(index);
    }
}
